<!DOCTYPE html>
<html lang="en">

<head>
  <meta charset="UTF-8">
  <meta name="viewport" content="width=device-width, initial-scale=1.0">
  <meta http-equiv="X-UA-Compatible" content="ie=edge">
  <title>Document</title>
  <script src="jquery.min.js"></script>
  <script>
    $(function () {
      function $(ele) {
        return document.querySelector(ele)
      }
      console.log($("div"))
      jQuery.each()

      // 实现多库共存
      let suibian = jQuery.noConflict() // 自己进行定义命名$
      console.log(suibian("span"))
    })
  </script>
</head>

<body>
  <div></div>
  <span></span>
</body>

</html>